An Analysis of Parameter Evaluation of Recursive Procedures

نویسنده

  • Lawrence Snyder
چکیده

A class of recursive program schemata PR is defined abstracting ALGOL-like procedures. Four generic types of parameter evaluation are considered; call by value, PRV, call by copy, PRc, call by reference, PRr, and call by name, PRj. Two other types of theoretical interest are also considered: "normal evaluation", Ffin, a non-side effect, evaluation postponement mechansim and call by ouote, PRq, an extension of call by name with all assignments to formals Uf evaluated. For evaluation method x, augmentation with global variables, PRx„, and augmentation with a finite number of markers, P^ are also considered. The results include. Rc 5 Rr s Rn R*C) " RKn < Rj s Rjq Rjn a Rq where x = v, c, r, and n. The results are correlated with the notion of fixed point computation and although call by value, copy and reference do not, in general, compute the least fixed point, for any functional an equivalent one may be found for which these three do compute the least fixed point. That call by name is stronger than the othe generic evaluation mechanisms derives not from postponing evaluation, but from repeated evaluation, i.e. side effects. The last two terms in the relation list are "universal". Additionally, its shown that if PRj ■ PRjn and if PRj they cannot be constructively equivalent. PRq, then An abstract model of parameter evaluation is developed and the constituent components of parameter evaluation are isolated. These help to characterize what impact choices of parameter evaluation have on the language in general. This understanding motivates the class PRq and binds our analysis with that of the lambdo calculus models. The question of recognizing when two parameter evaluation mechanisms coincide is studied, i.e. when two mechanisms always compute the same resrlt for the same schema. The general problem is not partially decidable for seperable evaluation mfichanisms. For free recursive schemata employing the generic mechanisms, the coincidence question is decidable. A discussion of the utility of such analysis and some thoughts on future directions for research are included.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

AIOSC: Analytical Integer Word-length Optimization based on System Characteristics for Recursive Fixed-point LTI Systems

The integer word-length optimization known as range analysis (RA) of the fixed-point designs is a challenging problem in high level synthesis and optimization of linear-time-invariant (LTI) systems. The analysis has significant effects on the resource usage, accuracy and efficiency of the final implementation, as well as the optimization time. Conventional methods in recursive LTI systems suffe...

متن کامل

ANALYSIS OF RENEWAL INPUT STATE DEPENDENT VACATION QUEUE WITH $N$-POLICY

This paper analyzes renewal input state dependent queue with $N$- policy wherein the server takes exactly one vacation. Using the supplementary variable technique and recursive method, we derive the steady state system length distributions at various epochs. Various performance measures has been presented. Finally, some numerical  computations in the form of graphs are presented to show the par...

متن کامل

مقایسه روش‌های برآورد دبی پایه بر اساس تفکیک هیدروگراف جریان(مطالعه موردی حوزه آبخیز کارون)

Estimating the volume of groundwater contribution to runoff within a watershed is one of the most important subjects in water resources management and hydrology. In this paper, groundwater contribution to total runoff as a base flow index was estimated using hydrograph separation in six stream gauging stations in southwest of Iran. The major objective of this research is to distinguish the most...

متن کامل

Application of Recursive Least Squares to Efficient Blunder Detection in Linear Models

In many geodetic applications a large number of observations are being measured to estimate the unknown parameters. The unbiasedness property of the estimated parameters is only ensured if there is no bias (e.g. systematic effect) or falsifying observations, which are also known as outliers. One of the most important steps towards obtaining a coherent analysis for the parameter estimation is th...

متن کامل

Evaluation of the relationship between the uses of safety procedures in the rate of human error in Yazd Combined Cycle Power Plant

Introduction: About 60 to 90 percent of an accident in the industry is caused by human error. This study aimed to assess the effectiveness of safety procedures in reducing human error in Yazd Combined Cycle Power Plant employees.   Materials and Methods: The present study is a quasi-experimental intervention that was conducted aimed to measure the human error of 121 employees of Yazd Combined...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2014